<?php

namespace App\Core\Exception;

use App\Enums\LoginEnums;

class LoginException extends ApplicationException
{
    
    public function __construct($code = LoginEnums::NO_LOGIN, $message = '', \Throwable $previous = null)
    {
        $message or $message = LoginEnums::get($code);
        parent::__construct($code, $message, $previous);
    }
}